#include "low_includes.h"


/*
 * 函数介绍: LIN超时休眠
 * 参数:
 * 返回值: {*}
 * 备注:
 */
void low_sleep_main(void)
{
    if (RLINSTA_SLEEP == RLIN31_sta_get())
    {
        //DisableInterrupts;
#if 0
        ADC0_Sleep();
        low_LED_enabled(DISABLE);
        low_sleep_set_gpio();
        TAUJ0_CH0_sleep();
        low_Port_Init_INTP11();
        SysClk_Init_SleepMode();      //停止时钟
        STB_EnterStopMode();
        low_system_init();
#endif
        //low_sleep_set_gpio();
        //SysClk_Init_SleepMode();      //停止时钟
        //STB_EnterStopMode();
        GPIO_ClearPinOutput(PORT_C, GPIO_5);// lin收发器关闭 评估板：PTC5。48pin板：PTB4
        low_system_init();
    }
}
